package router

import (
	"backend/internal/controller"
	"backend/middleware"

	"github.com/gin-gonic/gin"
)

func SetAdminGroupRoutes(router *gin.Engine, jwtAuth *middleware.JWTAuth, userController *controller.UserController, uplaoad *controller.UploadController) *gin.RouterGroup {
	group := router.Group("/user")
	group.POST("/login", userController.Login)
	group.POST("/upload", uplaoad.UploadMedia)
	return group
}
